package com.lemon.ashe.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Hashtable;
import java.util.TreeMap;

/**
 * japi测试模块
 * @program: SpringBootZoo
 * @author: Mr.Lemon
 * @create: 2020/6/20
 **/
@RestController("测试japi")
@RequestMapping("/test")
public class JapiController {

    /**
     *
     * 测试controller
     * @param ttl
     * @return: long
     * @author: Mr.Lemon
     * @time: 2020/6/20
     */
    @GetMapping("/ttl")
    public long test(@RequestParam(value = "ttl", required = false) Long ttl) {
        Hashtable t = new Hashtable<>();
        return Long.MAX_VALUE;
    }

}
